package com.xxx.modules.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 维修记录
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2024-03-30
 */
@Data
@TableName("`log`")
@ApiModel(value="log对象", description="维修记录")
public class Log {

    /**
     * 主键id
     */
	@TableId(value = "id", type = IdType.AUTO)
	@ApiModelProperty(value = "主键id")
	private Integer id;
    /**
     * 标题
     */
	@ApiModelProperty(value = "标题")
	private String title;
    /**
     * 用户
     */
	@ApiModelProperty(value = "用户")
	private Integer userId;
    /**
     * 维修日志
     */
	@ApiModelProperty(value = "维修日志")
	private String content;
    /**
     * 维修地点
     */
	@ApiModelProperty(value = "维修地点")
	private String location;
    /**
     * 车辆
     */
	@ApiModelProperty(value = "车辆")
	private Integer productId;
    /**
     * 创建时间
     */
	@ApiModelProperty(value = "创建时间")
	private String createTime;
    /**
     * 更新时间
     */
	@ApiModelProperty(value = "更新时间")
	private String updateTime;
	/**
	 * 维修人
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "维修人")
	private String realName;
	/**
	 * 车辆
	 */
	@TableField(exist = false)
	@ApiModelProperty(value = "车辆")
	private String carNumber;

}
